﻿using System;
using System.Data.Linq.Mapping;
using BSU.Math.Geometry;

namespace BSU.GraduateWork.Data.Model
{
    [Table(Name = "Solution")]
    public class Solution3D : Solution<Point4D>
    {
        [Column(Name = "id", DbType = "Int IDENTITY", IsPrimaryKey = true, IsDbGenerated = true,
                CanBeNull = false, AutoSync = AutoSync.OnInsert, UpdateCheck = UpdateCheck.Never)]
        public override int Id { get; set; }

        [Column(Name = "IterationsCount", DbType = "int", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override int IterationsCount { get; set; }

        [Column(Name = "ExecutionTime", DbType = "bigint", CanBeNull = false, UpdateCheck = UpdateCheck.Never)]
        public override TimeSpan ExecutionTime { get; set; }
    }
}
